package com.taxi.driver.event;

/**
 * 功能描述："地图"和"定位"相关的时间通知
 */
public class MapEvent extends BaseEvent {

    public final static int MAP_LOCATION = 1; //定位
    public final static int MAP_TRAFFIC = 2; //路况
    public final static int MAP_CACULATE_ROUTE = 3; //路径规划规划
    public final static int MAP_PADDING = 5; //设置top和bottom的边距
    public final static int MAP_POINT = 6; //显示单个点
    public final static int MAP_SHOW_ORIGIN = 7;//显示起点
    public final static int MAP_SHOW_DEST = 8;//显示终点
    public final static int MAP_ORIGN_DEST = 9;//显示起点和终点

    public final static int NAVI_TRAFFIC = 101; //是否显示交通状况
    public final static int NAVI_PADDING = 102; //设置top和bottom的边距
    public final static int NAVI_LOCATE = 103; //定位
    public final static int NAVI_CALCULATE_ROUTE = 104; //规划路径
    public final static int NAVI_NAVIGATE = 105; //导航到目标位置(开始导航)
    public final static int NAVI_ORDER = 106; //发送订单起终点
    public final static int NAVI_EMULATOR = 107; //模拟导航
    public final static int CRUISE = 108;//开始巡航

    public final static int VIEW_RESET = 201; //重置显示
    public final static int VIEW_NAVI_INFO_UPDATE = 202; //设置时间和距离显示
    public final static int VIEW_LOCATION_CHANGE = 203; //位置改变
    public final static int VIEW_CHANGE_ADDR = 204; //更改导航目的地

    public final static int VIEW_LOCATION = 205;//实时导航时，记录定位信息

    public MapEvent(int type) {
        super(type);
    }

    public MapEvent(int type, Object obj1) {
        super(type, obj1);
    }

    public MapEvent(int type, Object obj1, Object obj2) {
        super(type, obj1, obj2);
    }

    public MapEvent(int type, Object obj1, Object obj2, Object obj3) {
        super(type, obj1, obj2, obj3);
    }

    public MapEvent(int type, Object obj1, Object obj2, Object obj3, Object obj4) {
        super(type, obj1, obj2, obj3, obj4);
    }
}
